package org.bonorsoft.modules.hospital.mapper;

import java.util.List;

import com.baomidou.dynamic.datasource.annotation.DS;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.bonorsoft.modules.hospital.entity.Admitte;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.bonorsoft.modules.hospital.entity.TotalEntity;

/**
 * @Description: 收入院
 * @Author: WilliamYe
 * @Date:   2020-11-02
 * @Version: V1.0
 */
public interface AdmitteMapper extends BaseMapper<Admitte> {

    @Select("select * from dbo.get_admitte_data(#{year})")
    List<TotalEntity> getAdmitteYearData(Integer year);
}
